package com.moonshineproject.plugin.project.event
{
	import com.moonshineproject.plugin.project.view.FTETreeItemRenderer;
	import com.moonshineproject.plugin.project.vo.FileWrapper;
	
	import flash.events.Event;

	public class TreeMenuItemEvent extends Event
	{
		public static const RIGHT_CLICK_ITEM_SELECTED:String = "menuItemSelectedEvent";
		public static const EDIT_INIT:String = "editInit";
		public static const EDIT_CANCEL:String = "editCancel";
		public static const EDIT_END:String = "editEnd";
		
		public var menuLabel:String;
		public var data:FileWrapper;
		public var renderer:FTETreeItemRenderer;
		public var extra:*;
		
		public function TreeMenuItemEvent(type:String, menuLabel:String, data:FileWrapper)
		{
			this.menuLabel = menuLabel;
			this.data = data;
			
			super(type, true, false);
		}
		
	}
}